﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" Inherits="Laptop" Codebehind="San-Pham.aspx.cs" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajax" %>

<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <!-- BEGIN CONTENT -->
<section id="content" class="clearfix">
<!-- Title --><div id="content-title">
    <asp:Label ID="lbCategoryname" runat="server" /></div>

<!-- BEGIN LEFT CONTENT -->
<section id="portfoliotile-left">
<!-- BEGIN TILE CONTENT -->

    <asp:DataList ID="dl_Information" runat="server" 
        onitemcreated="dl_Information_ItemCreated" RepeatColumns="2" RepeatDirection="Horizontal">
      <HeaderTemplate>
        <div id="portfolio" class="clearfix centered">
      </HeaderTemplate>
      <ItemTemplate>
          <div style="height:30px">
            <asp:Label ID="Label1" runat="server" Text='<%# Eval("productname") %>' 
                Font-Bold="True" Font-Size="15px" ForeColor="#FFFFCC"></asp:Label>
            </div>
          <br /><br />
            <div class="tile large illustration">
            <asp:HyperLink ID="Hyperlink1" runat="server" NavigateUrl='<%# Eval("productid","Chi-Tiet-San-Pham.aspx?ProID={0}") %>'>
            <asp:Image ID="Image1" runat="server"  CssClass="tile-pre-img" Width="100%" Height="100%" ImageUrl='<%# Eval("photopath","Image/Products/{0}") %>' alt='<%# Eval("productname") %>' />
            </asp:HyperLink>
            </div>                          
            <ajax:PopupControlExtender ID="PopupControlExtender1" runat="server" 
               PopupControlID="Panel1" 
               TargetControlID="Image1" 
               DynamicContextKey='<%# Eval("productid") %>' 
               DynamicControlID="Panel1" 
               DynamicServiceMethod="GetDynamicContent" Position="Right"> 
            </ajax:PopupControlExtender> 
        </ItemTemplate>
        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:DataList>
    <cc1:CollectionPager ID="CollectionPager1" runat="server" ControlCssClass="pagination clearfix" QueryStringKey="Page" 
    LabelText="Trang:" BackText="« Trở về" FirstText="Đầu tiên" NextText="Tiếp theo »" ResultsFormat="Kết quả hiển thị từ {0}-{1} (of {2})">
   
    </cc1:CollectionPager>
    <asp:Panel ID="Panel1" runat="server">
    </asp:Panel>
</section>
<!-- END LEFT CONTENT -->

<!-- BEGIN SIDEBAR -->
<section id="sidebar">

<div id="search" class="widget">

<asp:TextBox ID="txtsearch" CssClass="search-field placeholder" name="sitesearch" placeholder="Tìm kiếm" runat="server" />
<asp:Button ID="btnSearch" runat="server" BorderWidth="0px" type="submit" CssClass="search-submit" value=" " OnClick="btnSearch_Click" />

</div><!-- end #search -->

<div id="twitter" class="widget">
<h5>Giỏ Hàng</h5>
    <table id="tweeter">
        <tr>
            <td align="left">
                <img  src="Image/Giohang.gif"  /></td>
            <td align="left">
                &nbsp;<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Red" NavigateUrl="~/Gio-Hang.aspx" Text="Giỏ hàng của bạn"/>
            </td>
        </tr>
        <tr>
            <td align="left">
                <img src="Image/Sotien.gif"  /></td>
            <td align="left">
                &nbsp;<asp:Label ID="lbSelected" runat="server" ForeColor="Red"></asp:Label></td>
        </tr>
    </table>

</div><!-- end #twitter -->
<div id="recent-box" class="widget">
<h5>Quảng Cáo</h5>
<ul class="articles-widget">
<li>
	<a href="http://error404.000webhost.com/?">
	<img src="../Image/images/articles/article1_med.jpg" alt="Article 1" />
    <div class="title">Giảm giá cực sốc <br><span class="redtxt">Laptop chỉ có 5 triệu</span></div>
    <div class="more"></div>
    </a>
</li>
<li>
	<a href="http://error404.000webhost.com/?">
	<img src="../Image/images/articles/article2_med.jpg" alt="Article 2" />
    <div class="title">Tặng phẩm sốc<br><span class="limetxt">USB 8GB Ram 2GB</span></div>
    <div class="more"></div>
    </a>
</li>
<li>
	<a href="http://error404.000webhost.com/?">
	<img src="../Image/images/articles/article3_med.jpg" alt="Article 3" />
    <div class="title">Phiếu quà tặng<br><span class="tealtxt">Tiết kiệm hơn 15 triệu</span></div>
    <div class="more"></div>
    </a>
</li>
</ul>
</div><!-- end #recent-box -->

<%--<div id="archive-box" class="widget">
<h5>Lịch</h5>
<table id="archive">
<thead>
    <tr>
    	<th title="Monday" scope="col">M</th>
        <th title="Tuesday" scope="col">T</th>
        <th title="Wednesday" scope="col">W</th>
        <th title="Thursday" scope="col">T</th>
        <th title="Friday" scope="col">F</th>
        <th title="Saturday" scope="col">S</th>
        <th title="Sunday" scope="col">S</th>
    </tr>
</thead>
<tbody>
  <tr>
    <td class="none">&nbsp;</td>
    <td class="none">&nbsp;</td>
    <td class="none">1</td>
    <td class="none">2</td>
    <td class="red">3</td>
    <td class="teal">4</td>
    <td class="green">5</td>
  </tr>
  <tr>
    <td class="blue">6</td>
    <td class="none">7</td>
    <td class="lime">8</td>
    <td class="blue">9</td>
    <td class="green">10</td>
    <td class="red">11</td>
    <td class="none">12</td>
  </tr>
  <tr>
    <td class="blue">13</td>
    <td class="red">14</td>
    <td class="lime">15</td>
    <td class="teal">16</td>
    <td class="green">17</td>
    <td class="none">18</td>
    <td class="brown">19</td>
  </tr>
  <tr>
    <td class="teal">20</td>
    <td class="green">21</td>
    <td class="brown">22</td>
    <td class="blue">23</td>
    <td class="none">24</td>
    <td class="red">25</td>
    <td class="green">26</td>
  </tr>
  <tr>
    <td class="lime">27</td>
    <td class="lime">28</td>
    <td class="brown">29</td>
    <td class="none">30</td>
    <td class="green">31</td>
    <td class="none">&nbsp;</td>
    <td class="none">&nbsp;</td>
  </tr>
</tbody>
<tfoot>
	<tr>
    <td id="prev">&#8249;</td>
    <td id="month" colspan="5">August</td>
    <td id="next">&#8250;</td>
    </tr>
</tfoot>
</table>
</div><!-- end #archive-box -->--%>

<div class="widget text-widget">
<h5>Thống kê website</h5>
<p>Số người online : <asp:Label ID="lblUserOnline" Text="" runat="server" /> <br />
Số lượt truy cập : <asp:Label ID="lblNumVisitor" Text="" runat="server" /><br /></p>
</div><!-- end .text-widget -->




    </section>
<!-- END SIDEBAR -->
</section>
<!-- END CONTENT -->


</asp:Content>

